package com.lingxu.base.codegenerate.generate.a;

import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;



public class a
{
    private static final Logger a = LoggerFactory.getLogger(a.class);




    private final String b;




    private List<File> c = new ArrayList();



    private String d;




    public a(String paramString)
    {
        this.b = paramString;
    }

    private void a(File paramFile) {
        a(new File[] { paramFile });
    }

    private void a(File... paramVarArgs) {
        this.c = Arrays.asList(paramVarArgs);
    }

    public String a() {
        return this.d;
    }

    public void a(String paramString) {
        this.d = paramString;
    }

    public List<File> b() {
        String str = getClass().getResource(this.b).getFile();
        str = str.replaceAll("%20", " ");

        a(new File(str));
        return this.c;
    }

    public void a(List<File> paramList) {
        this.c = paramList;
    }


    public String toString()
    {
        StringBuilder localStringBuilder = new StringBuilder();
        localStringBuilder.append("{\"templateRootDirs\":\"");
        localStringBuilder.append(this.c);
        localStringBuilder.append("\",\"stylePath\":\"");
        localStringBuilder.append(this.d);
        localStringBuilder.append("\"} ");
        return localStringBuilder.toString();
    }
}

